Elementi Navigazione

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy127.getFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy127 object "it.ariadne.buzzi.dlFileEntryServiceWrapper.DlFileEntryServiceWrapper@466ed37a"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign dlDocument = dlAppService.get...  [in template "20116#20152#90508" at line 51, column 44]
----
1<div class="container"> 
2  <div class="row"> 
3    <div class="col-sm-8"> 
4      <div class="prodotto"> 
5        <h2 class="prodotto__title">${productName.data}</h2> 
6        <div class="prodotto__info <#-- has-img -->"> 
7			<#-- 
8			<#if productThumbnail?? && productThumbnail.data?has_content> 
9				<img src="${productThumbnail.data}" alt="${productThumbnail.getAttribute('alt')}" class="prodotto__img" /> 
10			</#if> 
11			 
12			<#if productAbstract.data?? && productAbstract.data?has_content > 
13				<p>${productAbstract.data}</p> 
14			</#if>--> 
15			<#if productBody.data?? && productBody.data?has_content > 
16				<p>${productBody.data}</p> 
17			</#if> 
18      	</div> 
19 
20		<#if paragraph.getSiblings()?has_content > 
21			<#assign paragraphs = paragraph.getSiblings() /> 
22			<#list paragraphs as p> 
23				<#if p.paragraphTitle.data?? && p.paragraphTitle.data?has_content> 
24					<h3>${p.paragraphTitle.data}</h3> 
25				</#if> 
26 
27				<#if p.paragraphDescr.data?? && p.paragraphDescr.data?has_content> 
28					<p>${p.paragraphDescr.data}</p> 
29				</#if> 
30			</#list> 
31		</#if> 
32		 
33		<#if documentSection?? && documentSection.getSiblings()?has_content > 
34                 
35			<#assign dlAppService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppService") /> 
36 
37			<#assign SPACE_KB = 1024 /> 
38			<#assign SPACE_MB = SPACE_KB?int * 1024 /> 
39			<#assign SPACE_GB = SPACE_MB?int * 1024 /> 
40			<#assign SPACE_TB = SPACE_GB?int * 1024 /> 
41			 
42			<h3 class="test-uppercase"><@liferay.language key="documents" /></h3> 
43			<div class="file-list"> 
44			 
45			   <#list documentSection.getSiblings() as file> 
46			    
47				   <#if file?? && file.document?? && validator.isNotNull(file.document.data) > 
48					   <#assign urlSplitted = file.document.data?split("/") /> 
49					   <#assign indexToken = urlSplitted?size - 1 /> 
50					   <#assign uuid = urlSplitted[indexToken]?split("?")[0] /> 
51					   <#assign dlDocument = dlAppService.getFileEntryByUuidAndGroupId(uuid,groupId) /> 
52					   <#assign dlDocumentSize = dlDocument.size?int /> 
53					    
54					   <#if dlDocumentSize lt SPACE_KB> 
55						   <#assign dlDocumentSize = dlDocumentSize?round?string + " Byte" /> 
56						   <#elseif dlDocumentSize lt SPACE_MB> 
57						   <#assign dlDocumentSize = dlDocumentSize / SPACE_KB /> 
58						   <#assign dlDocumentSize = dlDocumentSize?round?string + " KB" /> 
59						   <#elseif dlDocumentSize lt SPACE_GB > 
60						   <#assign dlDocumentSize = dlDocumentSize / SPACE_MB /> 
61						   <#assign dlDocumentSize = dlDocumentSize?round?string + " MB" /> 
62					   <#elseif dlDocumentSize lt SPACE_TB> 
63						   <#assign dlDocumentSize = dlDocumentSize / SPACE_GB /> 
64						   <#assign dlDocumentSize = dlDocumentSize?round?string + " GB" /> 
65					   <#else> 
66						   <#assign dlDocumentSize = dlDocumentSize / SPACE_TB /> 
67						   <#assign dlDocumentSize = dlDocumentSize?round?string + " TB" /> 
68					   </#if> 
69 
70					   <div class="file has-icon"> 
71						   <i class="fa fa-file-pdf-o" aria-hidden="true"></i> 
72						   <div class="file__name"><a href="${file.document.data}" title="${dlDocument.getTitle()}" class="file__link" target="_blank">${dlDocument.getTitle()}</a></div> 
73						   <div class="file__info">(${dlDocument.extension?upper_case} ${dlDocumentSize})</div> 
74					   </div> 
75 
76				   </#if> 
77				    
78			   </#list> 
79			    
80			</div> 
81			 
82		</#if> 
83		 
84      </div> 
85    </div> 
86  </div> 
87</div> 

Struttura produttiva e distributiva

Fanna
Via Pradis, 2
33092 Fanna (PN)
tel. 800 2252756

Sfuso Sacco

Legenda
Sfuso Sfuso
Sacco Sacco
Big Bag Big Bag
Disponibile in sacco Disponibile in sacco [prodotto in altro stabilimento]
Export Export
Certificazione ambientale ISO 14001 Certificazione ambientale ISO 14001